#define _CRT_SECURE_NO_WARNINGS 1;
#include<stdio.h>
int get_days_of_month(int y, int m) {
	int days[] = {0,31,28,31,30,31,30,31,31,30,31,30,31};
	if (is_leap_year(y) && m == 2) {
		return days[m] + 1;
	}
	else {
		return days[m];
	}
}